package com.lemon.exam.entity.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.util.Map;

/**
 * 试卷试题 数据传输对象
 *
 * @author Lemon
 * @since 2025/7/22 15:17
 */
@Getter
@Setter
public class PaperQuestionVO {
    @Schema(description = "行号")
    private Integer rowIndex;

    @Schema(description = "题型")
    private String type;

    @Schema(description = "题干")
    private String question;

    @Schema(description = "答案")
    private String[] answer = new String[0];

    @Schema(description = "答案解析")
    private String analysis;

    @Schema(description = "标签")
    private String[] tag;

    @Schema(description = "分数")
    private Double score;

    @Schema(description = "选项")
    private Map<String, String> options;

    @Schema(description = "答题者提交的答案")
    private String[] submitAnswer = new String[0];

    @Schema(description = "答题者所得的分数")
    private Double userScore;
}
